//
//  XHPayFailureViewController.m
//  umibus
//
//  Created by 冷山 on 16/6/18.
//  Copyright © 2016年 lexingsoft. All rights reserved.
//

#import "XHPayFailureViewController.h"
#import "XHTabBarController.h"
#import "AppDelegate.h"
@interface XHPayFailureViewController ()

@property (weak, nonatomic) IBOutlet UIButton *ui_button;
@end

@implementation XHPayFailureViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.ui_button.layer.masksToBounds = YES;
    self.ui_button.layer.cornerRadius = 8;
    self.title = @"支付结果";
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
- (IBAction)payFailureAction:(id)sender
{
    AppDelegate * delegate = [UIApplication sharedApplication].delegate;
    [delegate.tabBarController goWaitPayOrderView];
    [self.navigationController popToRootViewControllerAnimated:YES];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
